<%--
  Created by IntelliJ IDEA.
  User: 柴龙
  Date: 2020/10/4
  Time: 9:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<script type="text/javascript" src="static/js/jquery.min.js"></script>
<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
<link
        rel="stylesheet"
        href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css"
        integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
        crossorigin="anonymous">

<!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
<link
        rel="stylesheet"
        href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap-theme.min.css"
        integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp"
        crossorigin="anonymous">

<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script
        src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"
        integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
        crossorigin="anonymous"></script>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--fasdfasf--%>
<div class="Container">
          <div class="row">
               <div class="col-md-4 col-md-offset-4">
                    <h1 class="page-header">文件上传</h1>
                    <h3>${username}用户你好！</h3>
                    <div class="list-group">
                         <a href="${pageContext.request.contextPath}/goout" class="list-group-item">注销用户</a>
                    </div>
                    <form  method="post" action="/filepost/fileUpload" enctype="multipart/form-data">
                         <div class="form-group">
                              <label> 选择文件类型：</label><br>
                              <input type="radio" name="type" value="png">png
                              <input type="radio" name="type" value="txt">txt
                              <input type="radio" name="type" value="jpg">jpg
                              <input type="radio" name="type" value="log">log
                              <input type="radio" name="type" value="xml">xml
                              <input type="radio" name="type" value="doc">doc
                              <input type="radio" name="type" value="docx">docx
                              <input type="radio" name="type" value="xls">xls
                              <br>
                         </div>
                         <div class="form-group">
                              <label>上传人：</label>
                              <input type="text" class="form-control" placeholder="上传人"  name="namew">
                         </div>
                         <div class="form-group">
                              <label>选择上传的文件：</label>
                              <input type="file" class="form-control"  id="password2" value="上传" name="upload">
                         </div>
                         <div class="checkbox">
                              <input type="submit" value="上传" class="btn"/>
                         </div>
                    </form>
               </div>
          </div>
</div>
</body>
</html>
